/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.MyWebApplication;

import javax.ejb.Stateless;
import javax.ejb.LocalBean;

/**
 *
 * @author odieste
 */
@Stateless
@LocalBean
public class Person {

     String name;
     int age;

    /**
     * @param name the person's name
     * @param age the person's age
     */
    public Person() {
        this.name = "Oscar Dieste";
        this.age = 39;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the age
     */
    public int getAge() {
        return age;
    }

    /**
     * @param age the age to set
     */
    public void setAge(int age) {
        this.age = age;
    }
    
}
